import { postRequest, getRequest, deleteRequest, putRequest } from '/src/lib/axios';

export const zhuzhiApi = {

    //http://192.168.15.79:9526/maxkey-mgt-api/access/roles/fetch?roleName=&displayName=&employeeNumber=&appId=&appName=&startDate=&endDate=&startDatePicker=1728200743188&endDatePicker=1730792743188&pageSize=10&pageNumber=1&pageSizeOptions=10&pageSizeOptions=20&pageSizeOptions=50
    getaccessList: (param) => {
        return getRequest(`/access/roles/fetch`, param);
    },
    //   /http://192.168.15.79:9526/maxkey-mgt-api/orgs/tree?appId=&appName=
    gettreeData: (param) => {
        return getRequest(`/orgs/tree`, param);
    },
};